@import "variable";

body {
  min-width: 1210px;
  .container {
    width: 1210px !important;
  }
  header {
    .logo {
      width: 310px;
    }
    .search_text {
      width: 446px;
    }
    .fore {
      width: 140px;
      .spacer {
        width: 138px;
      }

    }
    .hotwords {
      width: 518px;
    }
  }
  nav {
    .dd_layer {
      width: 999px;
    }
    .subitems dd {
      width: 620px;
    }
  }
  footer {
    .service_inner {
      width: 1190px;
    }
    .service_item {
      width: 297px;
    }
    .footer_help dl {
      width: 275px;
    }
  }
}

nav {
  height: 44px;
  width: 100%;
  background-color: @font_white;
  border-bottom: 2px solid @b_dark_red;
  .skmu_list {
    .fl();
    overflow: hidden;
    display: inline-block;
  }
  .skmu_list_item {
    .fl();
    .font-s20();
    line-height: 44px;
    padding: 0 15px;
    &_on {
      background: @b_dark_red;
      a {
        color: @font_white;
      }
    }
  }
  .skmu_cls {
    line-height: 50px;
    .rel();
    width: 100%;
    z-index: 3;
    .fl();
    height: 44px;
    &_line {
      display: inline-block;
      width: 1px;
      height: 12px;
      background-color: @border_grey;
      .fl();
      margin-top: 18px;
    }
    &_list {
      overflow: hidden;
      height: 44px;

    }
    &_item {
      .fl();
      .font-s14();
      line-height: 44px;
      width: 88px;
      text-align: center;
      a {
        color: @font_dark_grey;
        &:hover {
          color: @dark_red;
        }
      }
    }
  }

}

#seckill_container {
  width: 100%;
  overflow: hidden;
  .rel();
  .seckill_container_bg {
    background: url("../img/header_bg.png");
    .abs();
    top: 0;
    height: 1196px;
    width: 100%;
  }
  .skhd {
    min-height: 148px;
    overflow: visible;
  }
}

#timeline {
  width: 100%;
  margin-bottom: 10px;
  .rel();
  height: 60px;
  ul {
    //width: 100%;
    width: 1252px;
    margin-left: 60px;
    height: 60px;
  }
  .timeline_item {
    .fl();
    line-height: 60px;
    text-align: center;
    .font-s18();
    &_on {
      .timeline_item_link {
        width: 350px;
        &:before {
          border-color: transparent transparent @item_red;
        }
        &:after {
          border-color: @item_red transparent transparent;
        }
      }
      .timeline_item_link_skew {
        color: @font_white;
        background: @item_red;
      }
      .timeline_item_link_skew_processtips {
        color: @font_white;
        border: 1px solid @font_white;
      }
    }
  }
  .timeline_item_link {
    color: @black;
    width: 285px;
    height: 60px;
    display: block;
    overflow: hidden;
    transition: all 0.3s;
    .rel();
    margin-left: -60px;
    outline: none;
    &:before {
      display: block;
      content: '';
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 0 60px 60px;
      border-color: transparent transparent @font_white;
      .abs();
      left: 0;
      top: 0;
      zoom: 1;
    }
    &:after {
      display: block;
      content: '';
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 60px 60px 0 0;
      border-color: @font_white transparent transparent;
      .abs();
      right: 0;
      top: 0;
      zoom: 1;
    }
  }
  .timeline_item_link_skew {
    background: @font_white;
    margin: 0 60px;
  }
  .timeline_item_link_skew_time {
    vertical-align: middle;
    .font-w400();
    .font-s16();
  }
  .timeline_item_link_skew_processtips {
    border: 1px solid @font_dark_grey;
    display: inline-block;
    padding: 0 14px;
    vertical-align: middle;
    height: 26px;
    line-height: 25px;
    color: @font_dark_grey;
    border-radius: 22px;
    margin-left: 10px;
    .font-s12();
  }
}

#content {

  min-height: 300px;
  .container {
    width: 1190px;
  }
  #banner {
    margin-bottom: 45px;
  }
  .banner_swiper {
    height: 300px;
    .rel();
    img {
      width: 100%;
      height: 100%;
    }
    &:hover {
      .banner_btn {
        i {
          color: @item_red;
        }
      }
    }
  }
  .banner_btn {
    background-image: none;
    width: 24px;
    height: 60px;
    line-height: 60px;
    background-color: rgba(0, 0, 0, .2);
    i {
      .font-s24();
      color: @font_white;

    }
  }
  .timecount {
    width: 642px;
    height: 68px;
    line-height: 68px;
    background: linear-gradient(90deg, #fcc11c, #fcdc1c);
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: center;
    display: block;
    color: @font_grey_3;
    transform: skew(-45deg);
    -webkit-transform: skew(-45deg);
    &_skew {
      transform: skew(45deg);
      -webkit-transform: skew(45deg);
    }
  }
  .seckilling {
    .font-s28();
    margin-right: 5px;
    .font-w700();
  }
  .time_container {
    .font-s16();
    i {
      font-style: normal;
      background-image: url("../img/header_bg.png");
      background-position: -379px -245px;
      background-repeat: no-repeat;
      width: 36px;
      height: 26px;
      color: @font_white;
      .font-s24();
      line-height: 26px;
      text-align: center;
      display: inline-block;
      margin: 0 10px;
      vertical-align: -3px;
    }
  }
  .spsk {
    width: 100%;
    min-height: 247px;
    overflow: visible;
    ul {
      margin-left: -10px;
      margin-bottom: -20px;
      .clearfix();
    }
    .seckill_soldout {
      width: 590px;
      height: 390px;
      .rel();
      .fl();
      margin-left: 10px;
    }
  }
  .title_logo {
    .abs();
    left: 0;
    top: 0;
    width: 285px;
    height: 129px;
    z-index: 9;
    text-indent: -999px;
    background: url("../img/super_seckill_tit.png") no-repeat;
  }
  .spsk_item_container {
    background: @item_red;
    width: 100%;
    height: 370px;
    .abs();
    left: 0;
    bottom: 0;
  }
  .spsk_item_title {
    width: 210px;
    padding: 0 0 0 20px;
    margin-top: 126px;
  }
  .goods_title {
    width: 210px;
    .font-s18();
    color: @font_grey_3;
    height: 45px;
    line-height: 24px;
    .font-w700();
    overflow: hidden;
    text-overflow: ellipsis;
    //display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 30px;
  }
  .price {
    display: block;
    font-style: normal;
    i {
      color: @font_white;
      .font-s50();
      font-family: Arial;
      .font-w700();
    }
    em {
      .font-s30();
    }
  }
  .price_origin {
    color: @font_white;
    .font-s14();
    margin-left: 6px;
  }
  .spsk_item_tip {
    .font-s14();
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1;
    white-space: nowrap;
    display: block;
    margin-top: 15px;
    color: @seckill_yellow;
  }
  .spsk_item_btn {
    width: 197px;
    height: 46px;
    line-height: 46px;
    background: @seckill_yellow;
    .font-s24();
    color: @item_red;
    display: block;
    text-align: center;
    .abs();
    bottom: 20px;
    left: 20px;
  }
  .spsk_item_goods {
    width: 330px;
    height: 370px;
    background: @font_white;
    .abs();
    right: 20px;
    //top: -20px;
    top: 0;
    padding: 40px 20px;
    overflow: hidden;
    a {
      color: @font_dark_grey;

    }
    i {
      top: 35%;
      z-index: 1;
      background: url("../img/sprite_soldout.png");
      background-position: 0 0;
      background-repeat: no-repeat;
      width: 120px;
      height: 120px;
      display: block;
      .abs();
      left: 50%;
      margin-left: -60px;
      transition: background 0.3s;
    }
    img {
      width: 100%;
      height: 100%;
      transition: all 0.3s;
    }
  }
  .seckill_mod_goods {
    .fl();
    margin-bottom: 20px;
    margin-left: 10px;
  }
  .seckill_mod_goods_link {
    width: 290px;
    height: 390px;
    padding: 20px;
    background: @font_white;
    display: block;
    .rel();
    overflow: hidden;
    text-align: center;
    a:hover {
      color: @item_red;
    }
    img {
      width: auto;
      height: 250px;
      transition: transform .3s, -webkit-transform .3s, -moz-transform .3s;
    }
    h4 {
      color: @font_grey_3;
      .font-s16();
      margin: 10px 0;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      .font-w400();
      text-align: left;
    }
  }
  .seckill_mod_goods_tag {
    background-image: url("../img/header_bg.png");
    background-position: 0 -289px;
    background-repeat: no-repeat;
    width: 30px;
    height: 40px;
    line-height: 30px;
    top: 20px;
    left: 20px;
    overflow: hidden;
    color: @font_white;
    display: block;
    text-align: center;
    .abs();
    i {
      line-height: 1.1;
      display: inline-block;
      width: 28px;
      text-align: center;
      margin: 0 auto;
      vertical-align: middle;
    }
  }
  .seckill_mod_goods_info {
    overflow: hidden;
    text-align: left;
    height: 84px;
    background: @seckill_yellow;
    display: block;
    .abs();
    bottom: 0;
    left: 0;
    width: 100%;
    &_txt {
      padding: 15px 20px;
      display: block;
      .rel();
    }
    &_btn {
      width: 70px;
      height: 100%;
      .abs();
      display: block;
      top: 0;
      right: 0;
      background: @item_red;
    }
    &_i {
      color: @font_white;
      display: block;
      text-align: center;
      .abs();
      line-height: 85px;
      .font-s18();
      top: 0;
      right: 0;
      width: 100px;
      -webkit-backface-visibility: hidden;
    }
  }
  .seckill_mod_goods_price {
    display: block;
    line-height: 1.1;
    &_now {
      .font-s32();
      color: @item_red;
      font-family: Arial;
      margin-right: 5px;
      em {
        .font-s14();
      }
      i {
        .font-s22();
      }
    }
    &_pre {
      .font-s14();
      color: @font_dark_grey;
    }
  }
  .seckill_mod_goods_progress {
    display: block;
    margin-top: 5px;
    &_inner {
      width: 80px;
      height: 8px;
      background: @progress;
      display: inline-block;
      .rel();
      overflow: hidden;
      margin-left: 5px;
      b {
        background: @item_red;
        .abs();
        left: 0;
        top: 0;
        height: 8px;
        transform: skew(-45deg);
        margin-left: -5px;
      }
    }
  }
  .brand_fullcut {
    .fl();
    margin: 0 0 20px 10px;
    transition: opacity 0.3s;
    width: 590px;
    height: 405px;
    .rel();
    a {
      display: block;
      width: 100%;
      height: 100%;
      .abs();
      left: 0;
      top: 0;
      z-index: 2;
      color: @font_dark_grey;
    }
    .brand_fullcut_img {
      width: 590px;
      height: 405px;
    }
    &_inner {
      padding: 0 20px 20px;
      width: 590px;
      height: 225px;
      .abs();
      bottom: 0;
      left: 0;
      z-index: 1;
      ul {
        background: @font_white;
        width: 550px;
        height: 205px;
        overflow: hidden;
      }
    }
    &_item {
      width: 183px;
      height: 205px;
      overflow: hidden;
      padding: 15px 20px;
      .fl();
      img {
        margin-left: 8px;
        width: 130px;
        height: 130px;
      }
      &_info {
        margin-top: 10px;
      }
      &_price {
        display: block;
        i {
          .font-s16();
          color: @item_red;
          margin-right: 5px;
        }
        em {
          .font-s14();
        }
        del {
          .font-s12();
          color: @bg_light_grey;
        }
      }
      &_progress {
        display: block;
        margin-top: 3px;
        &_txt {
          color: #a2a2a2;
          .font-s12();
          vertical-align: middle;
        }
        &_inner {
          width: 80px;
          height: 6px;
          background: @font_dark_grey;
          display: inline-block;
          .rel();
          overflow: hidden;
          margin-left: 5px;
          vertical-align: middle;
          b {
            background: @item_red;
            .abs();
            left: 0;
            top: 0;
            height: 6px;
            transform: skew(-45deg);
            margin-left: -5px;
          }
        }
      }
    }
  }
}

#advert_b {
  margin-top: 100px;
}
